CREATE TABLE [dbo].[wad_reportes]
(
[nm_reporte] [dbo].[_nombre] NOT NULL,
[de_reporte] [dbo].[_descripcion] NULL,
[nm_origen_datos] [dbo].[_nombre] NULL,
[ca_timeout] [dbo].[_cantidad] NULL,
[nm_programa] [dbo].[_codigo_largo] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[wad_reportes] ADD CONSTRAINT [PK_wad_reportes] PRIMARY KEY CLUSTERED  ([nm_reporte]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[wad_reportes] ADD CONSTRAINT [FK_wad_reportes_wad_programas] FOREIGN KEY ([nm_programa]) REFERENCES [dbo].[wad_programas] ([nm_programa])
GO
EXEC sp_bindefault N'[dbo].[cero]', N'[dbo].[wad_reportes].[ca_timeout]'
GO
